<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="search_weather.html" method="post">
    城市：<input name="city">
    <input type="submit" value="查询">
</form>
<!--<span th:text="${result}"></span><br/>-->
<!--<div th:if="${json!=null}">-->
    <span th:text="${json!=null?json.reason:''}"></span><br/>
    <span th:text="${json!=null?json.result.realtime.temperature:''}"></span>
<!--</div>-->

</body>
</html>